// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Entity_FIN_MAP_BPA_PD
// * CreateDate    : 2012/2/2 10:17:12
// * Creater       : CodeSmith
// * LastChangeDate: 2012/2/2 10:17:12
// * LastChanger   : 2012/2/2 10:17:12
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;
using ESOL.Common.Schema;

namespace ESOL.Common.Entity
{
	[Serializable]
	public partial class FinMapBpaPdEntity : EntityBase
    {
        public FinMapBpaPdTable TableSchema
        {
            get
            {
                return FinMapBpaPdTable.Current;
            }
		}
		
		public FinMapBpaPdEntity()
        {

        }
		
		public FinMapBpaPdEntity(DataRow dr)
        {
			if(dr == null)
			{
				return;
			}
			this.ApplicationId = Convert.ToString(CommonFunctions.ToObject(dr["APPLICATION_ID"]));
			this.PaidDetailId = Convert.ToString(CommonFunctions.ToObject(dr["PAID_DETAIL_ID"]));
        }
		
		public FinMapBpaPdEntity(DataRowView dr)
        {
			if(dr == null)
			{
				return;
			}
			this.ApplicationId = Convert.ToString(CommonFunctions.ToObject(dr["APPLICATION_ID"]));
			this.PaidDetailId = Convert.ToString(CommonFunctions.ToObject(dr["PAID_DETAIL_ID"]));
        }

        public override TableInfo OringTableSchema
        {
            get
            {
                return FinMapBpaPdTable.Current;
            }
        }
		
		#region Perporty List
        public string ApplicationId
        {
            get { return Convert.ToString(GetData(FinMapBpaPdTable.C_APPLICATION_ID)); }
            set { SetData(FinMapBpaPdTable.C_APPLICATION_ID, value); }
        }
		
        public string PaidDetailId
        {
            get { return Convert.ToString(GetData(FinMapBpaPdTable.C_PAID_DETAIL_ID)); }
            set { SetData(FinMapBpaPdTable.C_PAID_DETAIL_ID, value); }
        }
		
		#endregion
	}
	
	
}	

